package com.atguigu.srb.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName ServiceCoreApplication
 * @Author ZengRj
 * @Date 2022/8/16 23:49
 * @Version 1.0
 */
@SpringBootApplication
@ComponentScan({"com.atguigu.srb", "com.atguigu.common"})
public class ServiceCoreApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(ServiceCoreApplication.class, args);
        } catch (Throwable throwable) {
            System.out.println(throwable.toString());
            throwable.printStackTrace();
        }
    }
}
